package com.nt.thah.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @Description: 用户信息实体
 * @author: ls
 * @Date: 2020-07-14 15:22:46
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {

    @ApiModelProperty(value = "主键Id")
    private Integer id;

    @ApiModelProperty(value = "小程序openid")
    private String appOpenId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "是否关注 0-否 1-是")
    private Integer subscribe;

    @ApiModelProperty(value = "用户等级 1-低碳新手 2-低碳先锋 3-低碳高手 4-低碳达人 5-低碳超人")
    private Integer level;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

}